package com.bang.service.impl;

import com.bang.pojo.User;
import com.bang.mapper.UserMapper;
import com.bang.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: bangbang
 * @Date: 2019/11/14 19:00
 */
@Service
public class UserServiceImpl implements IUserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User queryUserByUserName(String username) {
        return userMapper.queryUserByUserName(username);
    }
}
